package com.alks.function.mapper.pcfactoryquery;

import com.alks.entity.data.entity.PcMtlQTemp;
import com.alks.function.data.dto.pcfactoryquery.PcMtlByLotDetailDto;
import com.alks.function.data.dto.pcfactoryquery.PcSlipByLotDto;
import com.alks.function.data.request.factoryquery.SpMtlDetailRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2023-07-26
 */
public interface FT_QR_PcMtlQTempMapper extends BaseMapper<PcMtlQTemp> {

    List<PcMtlByLotDetailDto> queryMtlDetail(@Param("request") SpMtlDetailRequest request, @Param("companyId") String companyId);

    Double countUsageTtl(SpMtlDetailRequest request);

    List<PcSlipByLotDto> querySlipByLotNo(String lotNo);
}
